﻿<div>
    <label class="control-label" v-if="field.DisplayName">{{field.DisplayName}}</label>
<div class="input-group" :class="'size-' + field.Size">
    <input type="text" class="form-control" :placeholder="field.Placeholder">
    <span class="input-group-addon"><i class="glyphicon glyphicon-calendar"></i></span>
</div>
<dl v-if="field.Description">
    <dd>{{field.Description}}</dd>
</dl>
<button type="button" class="close" @click="removeField(field)"><span aria-hidden="true">&times;</span></button>
</div>
